sched: get rid of the per domain vCPU list in RTDS
authorDario Faggioli <dario.faggioli@citrix.com>
Tue, 24 Nov 2015 13:50:09 +0000 (14:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2015 13:50:09 +0000 (14:50 +0100)
commite6042257390500f445980d6b1c98aaa660741cc5
tree3a194a1ff28fd9f5f37312239bda6ae92c93ea27
parent6b53bb4ab3c9bd5eccde88a5175cf72589ba6d52
sched: get rid of the per domain vCPU list in RTDS

As, curently, there is no reason for bothering having
it and keeping it updated.

In fact, it is only used for dumping and changing
vCPUs parameters, but that can be achieved easily with
for_each_vcpu.

While there, take care of the case when
XEN_DOMCTL_SCHEDOP_getinfo is called but no vCPUs have
been allocated yet (by returning the default scheduling
parameters).

Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com>
Reviewed-by: Meng Xu <mengxu@cis.upenn.edu>
xen/common/sched_rt.c